/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.aurelius.jmx;

/**
 *
 */
public class Hello implements HelloMBean {
    private String name = "some string";
    private int size = 100;

    public Hello() {
    }

    @Override
    public void sayHello() {
        System.out.println("hello hello");
    }

    @Override
    public int addNumbers(int x, int y) {
        return x + y;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public int getCacheSize() {
        return size;
    }

    @Override
    public void setCacheSize(int size) {
        this.size = size;
    }
}
